<?php 
	namespace Admin\Model;
	use Think\Model;
	class UserModel extends Model{
		protected $_validate = array(
			array('username','require','用户名不能为空'),
			array('password','require','密码不能为空'),
			array('repassword','require','重复密码不能为空'),
			array('repassword','password','确认密码不正确',0,'confirm'),
			
		);
		protected $_auto = array(
			array('password','md5',3,'function'),
		);
	}
?>